package com.tju.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tju.resource.model.TbAppLog;

import java.util.List;

/**
 * @Entity com.tju.resource.model.TbAppLog
 */
public interface TbAppLogMapper extends BaseMapper<TbAppLog> {
    /**
     * 根据出货id查询审核记录
     * @param shipmentId 出货id
     * @return 结果
     */
    List<TbAppLog>  selectTbAppLogByShipmentId(Long shipmentId);
    /**
     * 根据外发id查询审核记录
     * @param outwardId 外发id
     * @return 结果
     */
    List<TbAppLog>  selectTbAppLogByOutwardId(Long outwardId);
    /**
     * 根据施工单id查询审核记录
     * @param implOrderId 施工单id
     * @return 结果
     */
    List<TbAppLog>  selectTbAppLogByImplOrderId(Long implOrderId);
    /**
     * 根据采购id查询审核记录
     * @param purchaseId 采购id
     * @return 结果
     */
    List<TbAppLog>  selectTbAppLogByPurchaseId(Long purchaseId);
}




